PARIS — A French court upheld a ruling Friday restricting Amazon deliveries to essential products only until a risk assessment is carried out, but reduced fines for breaches and extended the list of products that can be delivered.

“The court of appeal confirms [the April 14 ruling] that requires Amazon France Logistique to carry out, in association with representatives of workers, an evaluation of professional risks linked to the COVID-19 epidemic in all its warehouses,” the Versailles court of appeal said in a statement.

Amazon has temporarily closed its warehouses in France in response to the original ruling, arguing the order was too ambiguous.

An Amazon spokesperson said the company remains “perplexed” by the result of the appeal. “We are working rapidly to evaluate the implications for our sites, as well as for our French employees, French customers and for the French SMEs who rely on Amazon to grow their businesses.”